package edu.vital.energy.longevity.ch05.domain;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**

 */
public class Student {

    private int id;      //id

    private String name; //名称
    private List hobby;  //爱好
    private String[] family; //家庭成员
    private Map map;
    private Pet pet;   //宠物
//    @Override
//    public String toString() {
//        return "Student{" +
//                "id=" + id +
//                ", name='" + name + '\'' +
//                ", hobby=" + hobby +
//                ", family=" + Arrays.toString(family) +
//                ", map=" + map +
//                ", pet=" + pet +
//                '}';
//    }
}

